widget-factory: Fix multi-selection example
authorMatthias Clasen <mclasen@redhat.com>
Mon, 14 Jul 2014 13:17:47 +0000 (09:17 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Mon, 14 Jul 2014 13:17:47 +0000 (09:17 -0400)
It turns out that activate-on-single-click interferes with the
expected multi-selection behavior. Turn it off, since there's nothing
to activate in this list, anyway.

demos/widget-factory/widget-factory.ui

index 9bb225235c7162740582391f7a1da0f0a29749e5..d9b1aed8b1c0604a40d6c67fc6e1aac2114013fb 100644 (file)
@@ -2995,6 +2995,7 @@ Suspendisse feugiat quam quis dolor accumsan cursus. </property>
                           <object class="GtkListBox" id="munsell">
                             <property name="visible">True</property>
                             <property name="selection-mode">multiple</property>
+                            <property name="activate-on-single-click">False</property>
                           </object>
                         </child>
                       </object>